package com.jy.admin.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.jy.admin.db.entity.RewardConfigEntity;

import java.util.List;
import java.util.Map;

/**
* User: zxp
* Date: 2023-01-31
* Time: 15:35:05.202
*/

public interface RewardConfigDao  extends BaseMapper<RewardConfigEntity> {

    List<RewardConfigEntity> selectRewardByClientCodeAndBucket(String clientCode,String bucket);
    RewardConfigEntity selectRewardOne(String clientCode,String bucket,String targetFinishValue);
    List<String> selectRewardBucket();
    void updateReward(String clientCode,String bucket,String targetFinishValue,String target);
}